
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li class="am-active">常用</li>
						  <li class="am-active">治疗</li>
						  
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                 <div class="widget-title  am-fl"><i class="iask-icon-dengjijiuzhenqia iconfont sidebar-nav-link-logo"></i>治疗</div>
								<div class="widget-function am-fr">
                                    <a href="${Domain}my/cure/add?url=${url}" class="am-icon-plus"    data-am-popover="{theme: 'success sm',content: '新增治疗', trigger: 'hover focus'}"></a>
                                </div>

                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                   
                                </div>
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                    <div class="am-form-group tpl-table-list-select">
                                      
                                    </div>
                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3 am-fr">
                                	<#include "../common/search.ftl">
                                </div>

                                <div class="am-u-sm-12">
                                
                                
                                
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                               <th >就诊编号</th>
                                                <th>疾病</th>
                                                <th>姓名</th>
                                                <th>身份证</th>
                                                <th>年龄</th>
                                                <th>性别</th>                                              
                                                <th>确诊时间</th>
                                                <th>开始治疗</th>
                                                <th>结束时间 </th>
                                                <th>随访问卷</th>
                                                <th>随访周期</th> 
                                                 <th>最近随访时间</th>                                            
                                               <th>下次近随访时间</th> 
                                               <th>状态</th>
                                                <th>创建时间</th>
                                                <th width="120px">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list page.list as item>
                                            <tr >
                                               <td>${item.number}</td>
                                                <td>${item.dname}</td>
                                                <td>${item.name}</td>
                                               <td>${IDUtil.Simple(item.no)}</td> 
                                                <td>${IDUtil.Age(item.birthday)}</td>                                              
                                                 <td><#switch item.gender>
										           <#case 0> 未知 <#break>
										           <#case 1>男<#break>
										           <#case 2>女<#break>
										           <#default>未知
										        	</#switch> </td> 
                                                <td>${item.tdate}</td>
												<td>${item.startdate}</td>
                                                <td>${item.enddate}</td>
                                                <td>${item.sname}</td>
                                                <td>${item.cycle}</td>
                                                <td>${item.lfdate}</td>
                                                <td>${item.nfdate}</td>
                                                <td><#switch item.type>
										           <#case 0> <span class="am-text-danger">治疗中</span> <#break>
										           <#case 1><span class="am-text-success">治疗完成</span><#break>
										           <#case -1><span class="am-text-default">失效</span><#break>
										           <#default><span class="am-text-danger">未知</span>
										        	</#switch></td>
                                                <td>${item.time?string("yyyy-MM-dd")}</td>
                                                <td>
                                                
                                                    <div class="tpl-table-black-operation">

                                                       <a href="${Domain}my/cure/update/${item.id}?url=${url}" >
                                                            <i class="am-icon-pencil"></i> 编辑
                                                        </a>
                                                       <a href="${Domain}my/cure/show/${item.id}?url=${url}" >
                                                            <i class="am-icon-pencil"></i> 查看
                                                        </a>
                                                        <a href="${Domain}my/cure/diseaseupdate/${item.id}?url=${url}" >
                                                            <i class="am-icon-pencil"></i> 更新疾病
                                                        </a>
                                                         <a href="${Domain}my/cure/surveyupdate/${item.id}?url=${url}" >
                                                            <i class="am-icon-pencil"></i> 更新问卷
                                                        </a>
                                                        <a href="${Domain}my/cure/access/${item.id}?url=${url}" >
                                                            <i class="am-icon-pencil"></i> 随访记录
                                                        </a>
                                                    </div>
                                                  
                                                </td>
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
                                </div>
                              
                               <#include "../common/page.ftl">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       
       
       
       
 </div>             
<#include "footer.ftl">